
using UnityEngine;

public enum MsgEventType
{
    None = 0,

    // LevelPlay
    #region LevelPlay

    LevelCommand,
    Level_Enter,
    Level_EnterRegion,
    Level_UpdateEntities,
    Level_SyncEntityPos,
    Level_ShowBubble,
    Level_EntityActive,
    Level_ElevatorMoveOrStop,
    Level_NotifyStartCameraMotion,
    Level_NotifyEntityObstacleChange,
    Level_NotifyPlayEntityAnimAction,
    Level_NotifyLevelTimeShowChange,
    Level_NotifyChangeAreaEffectGroup,
    Level_NotifyChangeBindEffect,
    Level_UpdateEntityRotationY,
    Level_NotifyActiveCheckPoint,
    Level_NotifyBuffChange,
    Level_NotifyCustomBgmChange,
    Level_NotifyLevelParamChange,
    Level_NotifyHeroFollowerChange,
    Level_NotifyChangePlayerCamera,
    Level_NotifyChangeWeather,
    Level_UpdateEntityAlert,

    Level_AddJumpLedge,
    Level_RemoveJumpLedge,

    Level_EntityStateChanged,

    Level_TriggerAreaChanged,
    Level_UpdateCarrier,
    Level_LeaderChanged,
    Level_LeaderHeroAddHpSp,
    Level_StartItemSubmit,
    //广播事件，用于UI等全局信息展示，场景请监听LevelBuffHolder自身的event
    Level_UpdateBuff,
    //广播事件，用于UI等全局信息展示，场景请监听LevelBuffHolder自身的event
    Level_RemoveBuff,
    //广播事件，用于UI等全局信息展示，场景请监听LevelBuffHolder自身的event
    Level_RemoveAllBuff,
    Level_BattleSettlement,
    Level_UpdateHeroHpSp,
    //关卡临时状态发生改变
    Level_ExportDataChanged,
    //开始隐藏实体（通常代表实体即将从客户端销毁）
    Level_EntityStartHide,
    /// <summary>
    /// 推动实体
    /// </summary>
    Level_PushEntity,
    /// <summary>
    /// 开启小游戏
    /// </summary>
    Level_StartMiniGame,
    /// <summary>
    /// 改变实体音效
    /// </summary>
    Level_ChangeEntityAudio,
    #endregion

    //System
    QuestAdd,
    QuestRemove,
    QuestStartTrack,
    TraceEntityChange,
    StartSwitchGameplayArea,
    GameplayAreaSceneLoaded,

    //Common Entity
    EntityStartMove,
    EntityEnterStateBubble,
    EntityExitStateBubble,

    // BattleView
    BattleView_TakeDamage,
    BattleView_TakeCure,
    BattleView_AttrChnage,
    BattleView_Round,
    BattleView_Turn,
    BattleView_TurnQueueChange,
    BattleView_UnitRemove,
    BattleView_UnitAdd,
    BattleView_WeaknessPoint,
    BattleView_Shield,
    BattleView_Buff,
    BattleView_Start,
    BattleView_Exit,
    BattleView_UnitActive,

    // Login
    #region Login
    [Tooltip("SDK登录成后返回")]
    SDK_LOGIN_SUCCESS,
    #endregion

    #region Phasing
    SwitchPhasingSuccess,
    #endregion

    [Tooltip("显示浮动消息")]
    FNotice_ShowInfo,

    [Tooltip("道具改变")]
    ItemChanged,
    [Tooltip("某个道具改变")]
    OneItemChanged,
    PortableItemSwitch,

    [Tooltip("当英雄改变时刷新英雄详情界面")]
    HeroInfoRefreshByChangeHero,

    [Tooltip("显示英雄详情界面的属性详情")]
    HeroInfoShowAttrDetails,

    [Tooltip("装备排序")]
    EquipSort,
    [Tooltip("装备筛选")]
    EquipFilter,
    [Tooltip("装备分解成功")]
    EquipDecomposeSuccess,
    [Tooltip("装备皮肤改变")]
    EquipSkinChanged,

    [Tooltip("某个编队数据发生了变化")]
    OneFormationChanged,

    [Tooltip("商品消耗购买成功")]
    MallItemBuySuccess,

    [Tooltip("商品付费购买成功")]
    MallItemRechargeSuccess,

    [Tooltip("商品月卡变化")]
    MallItemMonthCardChanged,

    [Tooltip("商品更新售卖时间")]
    MallItemUpdateStartSellTime,

    [Tooltip("商品更新购买次数限制记录")]
    MallItemUpdateBuyCountRecords,

    [Tooltip("商品更新充值挡位购买次数")]
    MallItemUpdatePayCount,

    [Tooltip("宠物筛选")]
    PetFilter,
    [Tooltip("宠物排序")]
    PetSort,
    [Tooltip("宠物更名成功")]
    PetRenameSuccess,

    //[Tooltip("添加好友")]//加黑名单、申请暂时也算
    //AddFriend,
    //[Tooltip("删除好友")]
    //DeleteFriend,
    //[Tooltip("更新好友")]
    //UpdateFriend,
    [Tooltip("好友变化")]
    FriendChanged,
    [Tooltip("搜索好友变化")]
    SearchChanged,
    Return2Search,
}
